if (!jsx3.lang.Class.forName("ux.cdb.admin.mechanism.cooOrg.CooOrgInvest.CooOrgInvest")) {

/**
 * Define the <code>name of class</code> class.
 * This class inherit from <code>jsx3.gui.Block<code> GUI class.
 */
jsx3.Class.defineClass(
		"ux.cdb.admin.mechanism.cooOrg.CooOrgInvest.CooOrgInvest",
		jsx3.gui.Block,
		null,
		function (objRoot) {
			/**
			 * This method will be called after UI file has deserialized.
			 */
			objRoot.prototype.onAfterDeserialize = function() {
			
				//init the first tab
				var tabBaseinfo=this.getDescendantOfName("tab_cooOrg_Baseinfo").getContentPane();
				var me=this;
				ux.megatron.Main.loadUIResourceAsync(tabBaseinfo, "ux.cdb.admin", "ux/cdb/admin/mechanism/cooOrg/ui/CooOrg_Detail_Baseinfo.xml", me, me.onDetailBaseinfoLoaded);
			}
			objRoot.prototype.ruleSelected=function(mtx)
			{//user selected some record
				var detailPanel=this.getDescendantOfName("tab_cooOrg_detail");
				var notice=this.getDescendantOfName("blk_CooOrg_Notice");
				
				
				
				//display the tab
				detailPanel.setDisplay(jsx3.gui.Block.DISPLAYBLOCK,true);
				notice.setDisplay(jsx3.gui.Block.DISPLAYNONE,true);	
			}
			objRoot.prototype.onDetailBaseinfoLoaded=function()
			{

			}

		});
}